
<template>
  <div id="child-app-s">
      <!-- 显示当前路由 -->
      <div class="route-info">
        当前路由: {{ $route.fullPath }}
      </div>
      <!-- 导航 -->
      <nav>
        <!-- <router-link :to="`${prefix}/`">首页</router-link>|| -->
        <router-link :to="`${prefix}/dashboard`">仪表盘</router-link>||
        <router-link :to="`${prefix}/about`">关于</router-link>||
		<router-link :to="`${prefix}/settings`">Settings</router-link>
      </nav>
      <router-view />
    </div>
</template>
<script setup>
	import { ref} from 'vue'
	let prefix = ref(window.__MICRO_APP_BASE_ROUTE__ || '')
</script>
<style scoped>
.logo {
  height: 6em;
  padding: 1.5em;
  will-change: filter;
  transition: filter 300ms;
}
.logo:hover {
  filter: drop-shadow(0 0 2em #646cffaa);
}
.logo.vue:hover {
  filter: drop-shadow(0 0 2em #42b883aa);
}
</style>
